package com.heatup.apt.model.coach;

import java.io.Serializable;
import java.util.Date;


import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 *  教练签到记录表
 *
 */
@TableName("coach_signin_log")
public class CoachSigninLog implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 教练签到表主键 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/** 教练 ID */
	@TableField(value = "coach_id")
	private Integer coachId;

	/** 课程 ID */
	@TableField(value = "course_id")
	private Integer courseId;

	/** 课程签到序号 */
	@TableField(value = "course_number")
	private Integer courseNumber;

	/** 课程签到人数 */
	@TableField(value = "course_signin_person_count")
	private Integer courseSigninPersonCount;

	/** 课程开启签到时间 */
	@TableField(value = "course_signin_start_time")
	private Date courseSigninStartTime;

	/** 课程关闭签到时间 */
	@TableField(value = "course_signin_end_time")
	private Date courseSigninEndTime;

	/** 备注 */
	private String remark;

	/** 创建人 user_id */
	@TableField(value = "created_by")
	private Integer createdBy;


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCoachId() {
		return this.coachId;
	}

	public void setCoachId(Integer coachId) {
		this.coachId = coachId;
	}

	public Integer getCourseId() {
		return this.courseId;
	}

	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}

	public Integer getCourseNumber() {
		return this.courseNumber;
	}

	public void setCourseNumber(Integer courseNumber) {
		this.courseNumber = courseNumber;
	}

	public Integer getCourseSigninPersonCount() {
		return this.courseSigninPersonCount;
	}

	public void setCourseSigninPersonCount(Integer courseSigninPersonCount) {
		this.courseSigninPersonCount = courseSigninPersonCount;
	}

	public Date getCourseSigninStartTime() {
		return this.courseSigninStartTime;
	}

	public void setCourseSigninStartTime(Date courseSigninStartTime) {
		this.courseSigninStartTime = courseSigninStartTime;
	}

	public Date getCourseSigninEndTime() {
		return this.courseSigninEndTime;
	}

	public void setCourseSigninEndTime(Date courseSigninEndTime) {
		this.courseSigninEndTime = courseSigninEndTime;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CoachSigninLog{");
        sb.append("id=").append(id);
        sb.append(", coachId=").append(coachId);
        sb.append(", courseId=").append(courseId);
        sb.append(", courseNumber=").append(courseNumber);
        sb.append(", courseSigninPersonCount=").append(courseSigninPersonCount);
        sb.append(", courseSigninStartTime=").append(courseSigninStartTime);
        sb.append(", courseSigninEndTime=").append(courseSigninEndTime);
        sb.append(", remark='").append(remark).append('\'');
        sb.append(", createdBy=").append(createdBy);
        sb.append('}');
        return sb.toString();
    }
}
